html, body{
    overflow-x: hidden;
}


/* Tabs样式 */
.drawer-right .ant-tabs-nav-scroll{
    text-align: center;
}

/* 消息通知的抽屉样式 */
.notice-drawer{
    width: 100%;
    height: 100%;
    display: flex;
}
.notice-drawer .drawer-left{
    width: 60px;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.notice-drawer .drawer-left .left-item{
    width: 100%;
    text-align: center;
    padding: 12px 0;
}
.notice-drawer .drawer-left .left-item:hover{
    background: #f5f5f5;
    cursor: pointer;
}

.notice-drawer .drawer-right{
    width: 300px;
    position: relative;
    overflow: hidden;
}
.notice-drawer .drawer-right .drawer-tabs{
    padding: 0 8px 16px;
    height: calc(100vh - 80px);
    overflow-y: scroll;
}

/* modal */
.blog-container{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-container .content{
    flex: 1;
    height: 0;
    margin-top: 12px;
}

/* 上传图片容器 */
.upload-image-box{
    width: 128px;
    height: 128px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px dashed #d9d9d9;
    cursor: pointer;
    position: relative;
}
.upload-image-box:hover{
    border-color: #40a9ff;
}
.upload-image-box img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.upload-image-box .delete-img{
    position: absolute;
    right: -7px;
    top: -7px;
    color: #ff4d4f;
}
.upload-image-box .delete-img:hover{
    transform: scale(1.4);
    transition: all .3s linear;
}